#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QThread>
#include <QTime>
#include <QDebug>
#include <QTimer>
#include "test.h"


class MyThread : public QThread
{
    Q_OBJECT
public:
    MyThread();
    void run() override;

public:
    Test *test;
    QString name;
    Priority pri;

    //耗费的时间
    int costTime = 0;

private slots:
    void timeSlot();
};

#endif // MYTHREAD_H
